//
//  AppDelegate+Xylink.swift
//  SmartEyeForPatient
//
//  Created by qdsg on 2021/6/29.
//

import Foundation

extension AppDelegate {
    static func setupXylink() {
        let account = UserDefaults.xylinkAccount
        guard account.count > 6 else { return }
        let password = String(account.suffix(6))
        XYSDKManager.sharedInstance().create(account, password: password)
    }
}
